﻿using Hotel.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.DAL
{
    public class MyConText : DbContext
    {
        public MyConText(DbContextOptions options) : base(options)
        {
        }


        public DbSet<ShopModel> shops { get; set; }

        public DbSet<DisCountModel> disCounts { get; set; }





       public DbSet<HouseTypeModel> houseTypes { get; set; }//房型
        public DbSet<HouseNoModel> houseNos { get; set; }//房号
    }
}
